package namespace.jcu.mobile.library.system;

import java.util.Date;

public class BookRecord implements Comparable<BookRecord>{
	public String title;
	public Date actionDate;
	public String actionType;
	
	public BookRecord(String title, Date actionDate, String actionType) {
		this.title = title;
		this.actionDate = actionDate;
		this.actionType = actionType;
	}
	
   public int compareTo(BookRecord o) {
       return this.actionDate.compareTo(o.actionDate);
   }

	
}